#ifndef AIRCRAFT_H
#define AIRCRAFT_H

#include <allegro.h>
#include "game.h"
#include "controllableActor.h"
#include "bitmap.h"

class Actor;

class AirCraft : public ControllableActor{
    public:
        AirCraft(Game *g);

        typedef enum{
            DOWN,
            UP,
            LEFT,
            RIGHT,
            SHOOT
        }action_t;

        void update();
        void do_action(ControllableObject::action_t act, int magnitude);
        void hit(Actor *a, int damage);
        ControllableObject::action_t get_current_action();

    protected:
        void shoot_bullet();
        ControllableObject::action_t current_action;
};
#endif // AIRCRAFT_H
